<!DOCTYPE html>
<html>
<head>
	<title>订单系统</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<style>
.f1 {color:red;font-weight:bold;}
table td {text-align:left}
</style>
<body>
<script src="bootstrap/js/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.js"></script>
<{include file='layouts/headNav.html'}>
<div class="container-fluid">
	<div class="row-fluid">
		<ul class="nav nav-tabs">
			<li class="active"><a href="javascript:void(0)">后台主面板</a></li>
		</ul>
		<div class="main">
			<table align="center">
			<tr>
			<td>
			<table style="" border="1" align="center" cellpadding="7" cellspacing="0" width="450px">
				<tr><td colspan='2'><b>系统订单统计：</b></td></tr>
				<tr><td width="100px">当前时间：</td><td><font class="f1"><{date("Y-m-d H:i:s")}></font></td></tr>
				<tr><td width="100px">欢迎回来：</td><td><font class="f1"><{if $spAcl == 'ADMIN'}>【管理员】<{else}>【代理商】<{/if}><{$savesession}></font></td></tr>
				<tr><td width="100px">今日发货量：</td><td><font class="f1"><{$fahuonum2}></font></td></tr>
				<tr><td width="100px">昨日发货量：</td><td><font class="f1"><{$fahuonum}></font></td></tr>
				<tr><td width="100px">本周签收率：</td><td><font class="f1"><{$qsum2}></font></td></tr>
				<tr><td width="100px">本月签收签率：</td><td><font class="f1"><{$qsum3}></font></td></tr>
				<tr><td width="100px">总签收率：</td><td><font class="f1"><{$qsumall}></font></td></tr>
				<tr><td width="100px">当前可结算金额：</td><td><font class="f1"><{$alllirun}></font></td></tr>
			</table>
			</td>			
			<td>
				<table style="margin-left:20px" border="1" align="center" cellpadding="7" cellspacing="1"  width="400px">
					<tr><td><b>最新登录记录：</b></td></tr>
					<{if $allogs}>
						<{foreach from=$allogs item=item}>
							<tr><td>【时间】:<{$item['logintime']}> 【来自】:<{$item['address']}></td></tr>
						<{/foreach}>
					<{else}>
						<tr><td>暂无登录记录！</td></tr>
					<{/if}>
				</table>
			</td>			
			</tr></table>			
		</div>
	</div>
</div>
</body>
</html>